986c88bb03ae07805d5f638455a0feefec850998,ctk-transport/src/main/java/org/ga4gh/ctk/transport/protocols/Client.java,GenotypePhenotype,searchPhenotypeAssociationSets,#SearchPhenotypeAssociationSetsRequest#,366

Before Change


        @Override
        public SearchPhenotypeAssociationSetsResponse searchPhenotypeAssociationSets(SearchPhenotypeAssociationSetsRequest request) throws AvroRemoteException, GAException {
            String path = urls.getSearchPhenotypeAssociationSets();
            SearchPhenotypeAssociationSetsResponse response = new SearchPhenotypeAssociationSetsResponse();
            final AvroJson aj =
                    new AvroJson<>(request, response, urls.getUrlRoot(), path, wireTracker);
            response = (SearchPhenotypeAssociationSetsResponse)aj.doPostResp();
            return response;
        }
    }

After Change



        public SearchPhenotypeAssociationSetsResponse searchPhenotypeAssociationSets(SearchPhenotypeAssociationSetsRequest request) throws InvalidProtocolBufferException, GAWrapperException, UnirestException {
            String path = urls.getPhenotypes();
            SearchPhenotypeAssociationSetsResponse.Builder builder = SearchPhenotypeAssociationSetsResponse.newBuilder();
            new Post<>(urls.getUrlRoot(), path, request, builder, wireTracker).performQuery();
            return builder.build();
        }
    }
}